﻿using System;
using System.Collections.Generic;
using System.Text;
using VueEntities;
using VueIRepository;
using VueIServices;
using VueModel;
using VueRepository;

namespace VueServices
{
    public class LoginService : ILoginService
    {
        private readonly ILoginRepository _loginRepository;

        public LoginService(ILoginRepository loginRepository)
        {
            this._loginRepository = loginRepository;
        }
        public string Login(LoginModel model)
        {
            return _loginRepository.Login(model);
        }       
    }
}
